package com.crm.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.crm.dao.RepairDao;
import com.crm.model.Repair;
import com.crm.model.PageBean;
import com.crm.service.RepairService;

@Service("repairService")
public class RepairServiceImpl implements RepairService {

    @Resource
    private RepairDao repairDao;

    @Override
    public List<Repair> list(PageBean pageBean, Repair s_repair) {
        return repairDao.list(pageBean, s_repair);
    }

    @Override
    public int count(Repair s_repair) {
        return repairDao.count(s_repair);
    }


}
